# 读取ihrm_json文件
import json

import config


def read_json_data(ihrm_data):
    with open(ihrm_data, "r", encoding="utf8") as f:
        json_data = json.load(f)
        # print(json_data)

        list_data = []

        for item in json_data:
            temp = tuple(item.values())
            list_data.append(temp)
        # print(list_data)
        return list_data


# if __name__ == '__main__':
#     print(read_json_data(config.BASE_PATH + "/data/ihrm_data.json"))
